<template>
  <div>
    <el-button @click="show" type="primary">show me</el-button>
    <KunkkaFormTablePopup :single="true" />
    <div class="markdown-body">
      <readme />
    </div>
  </div>
</template>

<script>
import Readme from './readme.md';
import { mapGetters } from 'vuex'
export default {
  components: { Readme },
  computed: {
    ...mapGetters(['kunkkaFormTablePopup'])
  },
  data() {
    return {
    };
  },
  methods: {
    show() {
      this.kunkkaFormTablePopup.visible = true
      // 此处根据数据库id获取配置文件信息....
      this.kunkkaFormTablePopup.name = 'moduleName' // 子组件会调用对应VUX模块下的方法
      this.kunkkaFormTablePopup.uid = '10000' // MinimizeDialog 需要数据库id进行判断
    }
  }
};
</script>

<style></style>
